package com.mdd.front.service;
import java.util.List;

import com.mdd.common.core.AjaxResult;
import com.mdd.common.core.PageResult;
import com.mdd.common.entity.GreetingCardsRecord;
import com.mdd.common.entity.GreetingCardsSet;
import com.mdd.front.validate.common.PageValidate;
import com.mdd.front.vo.greetingCards.WishVo;

/**
 * 	贺卡相关API
 * @author DEREK
 *
 */
public interface IGreetingCardsService {

	
	/**
	 * 	贺卡列表
	 * @return
	 */
	List<GreetingCardsSet> greetingCardList();
	
	/**
	 * 	赠送贺卡
	 * @param userId		赠送者
	 * @param card
	 * @return
	 */
	AjaxResult<Object> giveGreetingCards(Integer userId,GreetingCardsRecord card);
	
	/**
	 * 	心愿列表
	 * @param userId	当前用户ID 
	 * @param type		0=全部 1=收到心愿 2=送出心愿
	 * @return
	 */
	PageResult<WishVo> wishList(Integer userId,Integer type, Integer toUserId, PageValidate pageValidate);
}
